home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / dev / mui / bcc.lha / BCC / .bcc-files / BOOPSI / .bcc_code next >
Encoding:
Text File  |  1997-06-20  |  795 b   |  48 lines

  1. /* .bcc_code for BOOPSI mode */
  2.  
  3. /* Defines that help adjusting to any compiler */
  4. #ifdef _DCC
  5. #define REG(x) __ ## x
  6. #define ASM
  7. #define SAVEDS __geta4
  8. #else
  9. #define REG(x) register __ ## x
  10. #ifdef _STORM
  11. #define ASM
  12. #define SAVEDS __saveds
  13. #else
  14. #if defined __MAXON__ || defined __GNUC__
  15. #define ASM
  16. #define SAVEDS
  17. #else
  18. #define ASM    __asm
  19. #define SAVEDS __saveds
  20. #endif
  21. #endif
  22. #endif
  23.  
  24. #ifndef PROTO_INTUITION_H
  25. #include <proto/intuition.h>
  26. #endif
  27.  
  28. #ifndef PROTO_UTILITY_H
  29. #include <proto/utility.h>
  30. #endif
  31.  
  32. #ifndef STRING_H
  33. #include <string.h>
  34. #endif
  35.  
  36. #ifndef LIBRARIES_BCC_H
  37. #include <libraries/bcc.h>
  38. #endif
  39.  
  40. #ifndef  CLIB_ALIB_PROTOS_H
  41. #include <clib/alib_protos.h>
  42. #endif
  43.  
  44. /* Only for custom methods */
  45. #define CallSuper() DoSuperMethodA(cl, obj, msg)
  46. #define GetData() INST_DATA(cl, obj)
  47.  
  48.